package com.aurora.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 百度表
 * </p>
 *
 * @author liu jun
 * @since 2022-10-20
 */
@Getter
@Setter
@TableName("t_baidu")
@ApiModel(value = "UmsBaidu对象", description = "百度表")
public class Baidu {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("获取到的Access Token，Access Token是调用网盘开放API访问用户授权资源的凭证")
    private String acessToken;

    @ApiModelProperty("Access Token的有效期，单位为秒。")
    private Integer expiresIn;

    @ApiModelProperty("用于刷新Access Token, 有效期为10年。")
    private String refreshToken;

    @ApiModelProperty("Access Token 最终的访问权限，即用户的实际授权列表。")
    private String scope;

    @ApiModelProperty("	百度帐号")
    private String baiduName;

    @ApiModelProperty("网盘帐号")
    private String netdiskName;

    @ApiModelProperty("头像地址")
    private String avatarUrl;

    @ApiModelProperty("会员类型，0普通用户、1普通会员、2超级会员")
    private Integer vipType;

    @ApiModelProperty("用户ID")
    private String uk;


}
